//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package org.yaukie.base.constant;

public enum BaseResultConstant {
    SUCCESS(11000, "请求成功"),
    FAILED(11001, "请求失败"),
    PARAMETER_EXCEPTION(11002, "参数异常"),
    METHOD_EXCEPTION(11003, "ENCOUNTER AN ERROR WHEN EXECUTE METHOD"),
    UNKNOW_EXCEPTION(11004, "THIS IS AN UNKNOW EXCEPTION");

    public int code;
    public String message;

    private BaseResultConstant(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return this.message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
